﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Popedom.Service.SpringImpl
{
    public class AreaServiceImpl:IAreaService
    {
        private Dao.Hibernate.AreaDaoImpl dao = new Ecreate.Popedom.Dao.Hibernate.AreaDaoImpl();
        public IList<tArea> getProvince()
        {
            return dao.getProvince();

        }
        public IList<tArea> getCity(string AreaCode)
        {
            return dao.getCity(AreaCode);
        }
        public IList<tArea> getCountry(string AreaCode)
        {
            return dao.getCountry(AreaCode);

        }

        public tArea getById(string Id)
        {
            return dao.getById(Id);
        }

    }
}
